New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rfc2047

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rfc2047

Encode and decode rfc2047 (MIME encoded words)

3.0.1
Source
npm
Version published
Weekly downloads
128K
-4.86%
Maintainers
3
Weekly downloads
 
Created
Source

rfc2047

Encode and decode rfc2047 (MIME encoded words).

var rfc2047 = require('rfc2047');

console.log(rfc2047.encode('Foo bar æøå ☺'));
// Foo bar =?utf-8?Q?=C3=A6=C3=B8=C3=A5?= =?utf-8?Q?_=E2=98=BA?=

console.log(
  rfc2047.decode('=?iso-8859-1?Q?=A1?=Hola, se=?iso-8859-1?Q?=F1?=or!')
);
// ¡Hola, señor!

NPM version Build Status Coverage Status Dependency Status

Keywords

rfc2047

FAQs

Package last updated on 06 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts